<template>
 <el-main>
  <login v-if="$store.getters.getToken === ''"></login>

  <exchange v-else></exchange>
 </el-main>
</template>

<script>
import Login from "@/views/Convert/Login/Login";  // 是否登录

import Exchange from "@/views/Convert/Exchange/Exchange";  // 兑换

export default {
 name: "Convert",
 components: {
  Login,
  Exchange
 }
}
</script>

<style scoped lang="scss">
.el-main {
 padding-top: 50px;
 background-color: #ffffff;
 display: flex;
 align-items: center;
 justify-content: center;
}
</style>
